<%@page import="org.springframework.web.context.support.WebApplicationContextUtils"%>
<%@page import="org.springframework.web.context.WebApplicationContext"%>
<%@page import="com.itwill.ecom.boardReply.BoardReplyBeans"%>
<%@page import="com.itwill.ecom.boardReply.BoardReplyServiceImpl"%>

<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>

<%
	WebApplicationContext webContext = WebApplicationContextUtils.getWebApplicationContext(application);
	BoardReplyServiceImpl boardReplyService=(BoardReplyServiceImpl)webContext.getBean("boardReplyService");
	
	BoardReplyBeans reply1 = new BoardReplyBeans(0, 1, null, "testId1", 0, "testContent1");
	BoardReplyBeans reply2 = new BoardReplyBeans(0, 1, null, "testId2", 0, "testContent2");
	BoardReplyBeans reply3 = new BoardReplyBeans(0, 1, null, "testId3", 0, "testContent3");
	BoardReplyBeans reply4 = new BoardReplyBeans(0, 2, null, "testId4", 0, "testContent4");
	BoardReplyBeans reply5 = new BoardReplyBeans(0, 3, null, "testId5", 0, "testContent5");
	BoardReplyBeans reply6 = new BoardReplyBeans(0, 4, null, "testId6", 0, "testContent6");
	BoardReplyBeans reply7 = new BoardReplyBeans(0, 5, null, "testId7", 0, "testContent7");
	BoardReplyBeans reply8 = new BoardReplyBeans(0, 5, null, "testId8", 0, "testContent8");
	BoardReplyBeans reply9 = new BoardReplyBeans(0, 5, null, "testId9", 0, "testContent9");
	BoardReplyBeans reply10 = new BoardReplyBeans(0, 5, null, "testId10", 0, "testContent10");
	
	boardReplyService.createReply(reply1);
	boardReplyService.createReply(reply2);
	boardReplyService.createReply(reply3);
	boardReplyService.createReply(reply4);
	boardReplyService.createReply(reply5);
	boardReplyService.createReply(reply6);
	boardReplyService.createReply(reply7);
	boardReplyService.createReply(reply8);
	boardReplyService.createReply(reply9);
	boardReplyService.createReply(reply10);
%>